package kr.ac.hansung.www;

import java.io.Serializable;
import java.util.ArrayList;

public class Event extends Nameable implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6837048192939725691L;
	private String eventId;
	private String eventName;
	private String leaderId;
	private String time;
	private String password;
	private ArrayList<Member> memberList;

	public Event(){};
	
	public Event(String eventId, String eventName, String leaderId, String time) {
		this.eventId = eventId;
		this.eventName = eventName;
		this.leaderId = leaderId;
		this.time = time;
	}
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String getId() {
		return this.eventId;
	}

	@Override
	public void setId(String eventId) {
		this.eventId = eventId;
	}

	@Override
	public String getName() {
		return this.eventName;
	}

	@Override
	public void setName(String eventName) {
		this.eventName = eventName;
	}

	public String getLeaderId() {
		return this.leaderId;
	}

	public void setTime(String time)
	{
		this.time=time;
	}
	
	public String getTime()
	{
		return this.time;
	}
	
	public void setLeaderId(String id) {
		this.leaderId = id;
	}

}
